package com.umakr.demo.model;

import java.util.List;

/**
 * Created by yangliu on 2017/8/24.
 */
public class NBTree {

    private Long id ;
    private  String text;
    private   Long pid;
    private Long bid;
    private List<NBTree> children;

    public List<NBTree> getChildren() {
        return children;
    }

    public void setChildren(List<NBTree> children) {
        this.children = children;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getBid() {
        return bid;
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }

    public NBTree(Long id, String text, Long pid) {
        this.id = id;
        this.text = text;
        this.pid = pid;

    }
}
